//
//  DCResponseData.h
//  Demo
//
//  Created by Kyle on 2022/12/31.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DCResponseData : NSObject


+ (id)CreatResponseDataWithDictionary:(NSDictionary *)dic;

@property (nonatomic, assign) NSInteger code;

@property (nonatomic, copy) NSString *message;

@property (nonatomic, strong) NSDictionary *data;

//接口报错时 错误信息
@property (nonatomic, strong) NSError *error;
@end

NS_ASSUME_NONNULL_END
